package com.bestcem.xm.txtanls.entity.pojo;

import lombok.Data;

import java.util.List;

/**
 * @author liheng
 * @version v1.0
 * @date 2021/5/24 15:05
 */
@Data
public class TopicGroupInfoDO {

    private String id;

    /**
     * 分析项目id
     */
    private String projectId;

    /**
     * 话题/组名称
     */
    private String name;

    /**
     * 话题组id
     */
    private String topicGID;

    /**
     * 话题类型
     *
     * @see com.bestcem.xm.txtanls.grpc.v1.enums.TopicTypeEnum
     */
    private Integer type;

    /**
     * 话题状态
     *
     * @see com.bestcem.xm.txtanls.enums.TopicStatusEnum
     */
    private Integer status;

    private List<TopicDO> topicDOList;

    /**
     * 是否为sample字段
     */
    private Boolean sample;

    public TopicGroupInfoDO() {
    }

    public TopicGroupInfoDO(String id, String projectId, String name, Integer type, Integer status, Boolean sample) {
        this.id = id;
        this.projectId = projectId;
        this.name = name;
        this.type = type;
        this.status = status;
        this.sample = sample;
    }
}
